/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 ("License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/MPL-1.1.html
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is: CalemEAM MicroLocale Test Suite.
*
* The Initial Developer of the Original Code is CalemEAM Inc.
* Portions created by CalemEAM are Copyright (C) 2008 CalemEAM Inc.
* All Rights Reserved.
*
* Contributor(s):
*
* ***** END LICENSE BLOCK *****
*/

package test;

import j2meunit.framework.Test;
import j2meunit.framework.TestCase;
import j2meunit.framework.TestSuite;
import test.calemeam.text.CurrencyTest;
import test.calemeam.text.DateTest;
import test.calemeam.text.DateTimeTest;
import test.calemeam.text.IntegerTest;
import test.calemeam.text.MessageTest;
import test.calemeam.text.NumberTest;
import test.calemeam.text.PercentTest;
import test.calemeam.text.TimeTest;

/**
 * All test cases for CalemEAM MicroLocale. <br>
 * Test cases were built with J2MEUnit.
 * 
 * @author cli
 */
public class LocaleTestSuite extends TestCase {
    /**
     * Core components to test
     */
    public LocaleTestSuite() {
       super("CoreTestSuite");
    }
    
    public Test suite() {
       TestSuite suite = new TestSuite();
       //Date test
       suite.addTest(new DateTest().suite());
       //Time test
       suite.addTest(new TimeTest().suite());
       //DateTime test
       suite.addTest(new DateTimeTest().suite());
       
       //Integer
       suite.addTest(new IntegerTest().suite());
       //Number
       suite.addTest(new NumberTest().suite());
       //Percent
       suite.addTest(new PercentTest().suite());
       //Currency
       suite.addTest(new CurrencyTest().suite());
       //Message
       suite.addTest(new MessageTest().suite());
       
       //suite collected.
       return suite;
    }   
}
